package br.com.segpswd.application;

import br.com.segpswd.dao.DataManager;
import android.app.Application;

public class CategoriaApp extends Application {

private DataManager dataManager;
	public CategoriaApp(Application app) {
		setDataManager(new DataManager(app));
	}
	@Override
	public void onCreate() {
		super.onCreate();
		setDataManager( dataManager );
	}
	
	@Override
	public void onTerminate() {
		super.onTerminate();
	}

	public DataManager getDataManager() {
		return dataManager;
	}

	public void setDataManager(DataManager dataManager) {
		this.dataManager = dataManager;
	}
}
